package com.wiz.web.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.wiz.vo.to.tencent.WxReturnData;

public interface WxService {

	/**
	 * 微信条码支付
	 * @param msg
	 * @param wxMerchantId 区分总部/站点
	 * @return
	 */
	public String wxBarPay(String msg,String hqId,String stationId,String wxMerchantId) throws Exception;
	
	/**
	 * 微信页面支付
	 * @param msg
	 * @param wxMerchantId 区分总部/站点
	 * @return
	 */
	public String wxWebPay(String msg,String hqId,String stationId,String wxMerchantId) throws Exception;
	
	/**
	 * 微信回调
	 * @param response
	 * @return
	 */
	public WxReturnData notify(HttpServletRequest request, HttpServletResponse response) throws Exception;
	
	/**
	 * 关闭网页支付订单
	 * @param msg
	 * @param wxMerchantId 区分总部/站点
	 * @return
	 */
	public String closeWebPay(String msg,String hqId,String stationId,String wxMerchantId) throws Exception;
}
